package com.jk.web.service;

import com.jk.web.service.hystrix.NavServiceHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

@FeignClient(name = "zuul-server",fallback = NavServiceHystrix.class)
public interface NavService {

    @RequestMapping("/nav-server/nav/findProductNav")
    List<Map> findProductNav();

}
